import { CreateDateColumn, PrimaryGeneratedColumn, UpdateDateColumn } from 'typeorm'

export class BaseEntity {
  @PrimaryGeneratedColumn('uuid')
  id?: string

  @CreateDateColumn({ comment: '创建时间' })
  create_date?: Date

  @UpdateDateColumn({ comment: '更新时间' })
  update_date?: Date

  toVO?(): any {
    return this
  }

  
}